/**
 * Created by Administrator on 2016/3/2 0002.
 */
 $(document).ready(function(){
     function animation(){
         var time;
         clearInterval(time);
         //console.log($(".load").css("display"))
         time = setInterval(function(){
             if($(".load").css("display")=="block"){
                 var timeAnimat;
                 clearInterval(time)
                 clearInterval(timeAnimat);
                 $(".load_radius").css("display","none");
                 timeAnimat = setInterval(function(){
                     //console.log($(".load").css("display"))
                     if($(".load").css("display")=="block"){
                          if($("#loadRadius1").css("display")=="none"){
                              console.log($("#loadRadius1").css("display"))
                                  $("#loadRadius1").css("display","block");
                          }else if($("#loadRadius2").css("display")=="none"){
                                  $("#loadRadius2").css("display","block");
                          }else if($("#loadRadius3").css("display")=="none"){
                                  $("#loadRadius3").css("display","block");
                          }else{
                                  $(".load_radius").css("display","none")
                          }
                     }else if($(".load").css("display")=="none"){
                         clearInterval(timeAnimat)
                         animation();
                     }
                 },1000)

             }
         },100);

     }
     animation();
 });